package com.realtyManage.springboot.Service;

import com.realtyManage.springboot.Model.Do.Comment;
import com.realtyManage.springboot.Model.Do.HouseDetail;
import com.realtyManage.springboot.Model.Vo.CommentEntity;
import com.realtyManage.springboot.Model.Vo.HouseEntity;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ICommentService {

    Page<Comment> findPagedByWhereClause(CommentEntity commentEntity);

    int saveCommentInfo(Comment comment);

    int deleteComment(String ids);

    Page<Comment> findUnaudited(CommentEntity commentEntity);

    int approvalComment(String id);

    Comment findCommentById(Integer cid);
}
